<template>
<div>
  <ul>
    <li v-for="( item, index ) in users">
      <slot :item="item" :index="index" :another-attribute="anotherAttribute">
        <span style="color:#929292;">默认效果：{{item}}</span>
      </slot>
    </li>
  </ul>
</div>
</template>
<script>
export default{
    data(){
        return {
          anotherAttribute:'anotherAttribute',
          users:['张三','李四','王五']
        }
    }
}
</script>